package com.stormragetech.teamwork.spring.controller.web;

import com.stormragetech.teamwork.auth.annotation.Perm;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
@Controller
public class IndexController {

    @Perm()
    @RequestMapping(value = {"/", "/index"}, method = RequestMethod.GET)
    public String index() {
        return "index/index";
    }

}
